package com.potevio.simulator.entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName ChargeModelParamSelectMsg0x17
 * @Description:
 * @Date 2021/5/11  17:17
 * @Author zyd
 */
@Component
public class ChargeModelParamSelectMsg0x17 {
    // 版本域
    public static String versionDomain;

    // 序列号域
    public static String serialNumberDomain;

    // 命令代码
    public static String commandCode;

    // 用户ID
    public static String userId;

    // 指令序号
    public static String instructionsNumber;

    public static String chargeGunNum;
    public static String chargeType;
    public static String highVoltage;
    public static String lowVoltage;
    public static String highElectricCurrent;
    public static String highOneChargeVoltage;
    public static String highTemperature;
    public static String isChargeCode;
    public static String totalVoltage;
    public static String totalElectricCurrent;
    public static String highAllowOneVoltage;
    public static String batteryTemperature;
    public static String communicationProtocolVersion;
    public static String batteryCasesNumber;
    public static String batteryGroupSeriesNumber;
    public static String batteryGroupParallelNumber;
    public static String batteryGroupCapacity;


    @Value("${message.chargeModelParamSelectMsg.version-domain}")
    public void setVersionDomain(String versionDomain) {
        ChargeModelParamSelectMsg0x17.versionDomain = versionDomain;
    }

    @Value("${message.chargeModelParamSelectMsg.serial-number-domain}")
    public void setSerialNumberDomain(String serialNumberDomain) {
        ChargeModelParamSelectMsg0x17.serialNumberDomain = serialNumberDomain;
    }

    @Value("${message.chargeModelParamSelectMsg.command-code}")
    public void setCommandCode(String commandCode) {
        ChargeModelParamSelectMsg0x17.commandCode = commandCode;
    }

    @Value("${message.chargeModelParamSelectMsg.user-id}")
    public void setUserId(String userId) {
        ChargeModelParamSelectMsg0x17.userId = userId;
    }

    @Value("${message.chargeModelParamSelectMsg.instructions-number}")
    public void setInstructionsNumber(String instructionsNumber) {
        ChargeModelParamSelectMsg0x17.instructionsNumber = instructionsNumber;
    }

    @Value("${message.chargeModelParamSelectMsg.charge-gun-num}")
    public void setChargeGunNum(String chargeGunNum) {
        ChargeModelParamSelectMsg0x17.chargeGunNum = chargeGunNum;
    }

    @Value("${message.chargeModelParamSelectMsg.charge-type}")
    public void setChargeType(String chargeType) {
        ChargeModelParamSelectMsg0x17.chargeType = chargeType;
    }

    @Value("${message.chargeModelParamSelectMsg.high-voltage}")
    public void setHighVoltage(String highVoltage) {
        ChargeModelParamSelectMsg0x17.highVoltage = highVoltage;
    }

    @Value("${message.chargeModelParamSelectMsg.low-voltage}")
    public void setLowVoltage(String lowVoltage) {
        ChargeModelParamSelectMsg0x17.lowVoltage = lowVoltage;
    }

    @Value("${message.chargeModelParamSelectMsg.high-electric-current}")
    public void setHighElectricCurrent(String highElectricCurrent) {
        ChargeModelParamSelectMsg0x17.highElectricCurrent = highElectricCurrent;
    }

    @Value("${message.chargeModelParamSelectMsg.high-one-charge-voltage}")
    public void setHighOneChargeVoltage(String highOneChargeVoltage) {
        ChargeModelParamSelectMsg0x17.highOneChargeVoltage = highOneChargeVoltage;
    }

    @Value("${message.chargeModelParamSelectMsg.high-temperature}")
    public void setHighTemperature(String highTemperature) {
        ChargeModelParamSelectMsg0x17.highTemperature = highTemperature;
    }

    @Value("${message.chargeModelParamSelectMsg.is-charge-code}")
    public void setIsChargeCode(String isChargeCode) {
        ChargeModelParamSelectMsg0x17.isChargeCode = isChargeCode;
    }

    @Value("${message.chargeModelParamSelectMsg.total-voltage}")
    public void setTotalVoltage(String totalVoltage) {
        ChargeModelParamSelectMsg0x17.totalVoltage = totalVoltage;
    }

    @Value("${message.chargeModelParamSelectMsg.total-electric-current}")
    public void setTotalElectricCurrent(String totalElectricCurrent) {
        ChargeModelParamSelectMsg0x17.totalElectricCurrent = totalElectricCurrent;
    }

    @Value("${message.chargeModelParamSelectMsg.high-allow-one-voltage}")
    public void setHighAllowOneVoltage(String highAllowOneVoltage) {
        ChargeModelParamSelectMsg0x17.highAllowOneVoltage = highAllowOneVoltage;
    }

    @Value("${message.chargeModelParamSelectMsg.battery-temperature}")
    public void setBatteryTemperature(String batteryTemperature) {
        ChargeModelParamSelectMsg0x17.batteryTemperature = batteryTemperature;
    }

    @Value("${message.chargeModelParamSelectMsg.communication-protocol-version}")
    public void setCommunicationProtocolVersion(String communicationProtocolVersion) {
        ChargeModelParamSelectMsg0x17.communicationProtocolVersion = communicationProtocolVersion;
    }

    @Value("${message.chargeModelParamSelectMsg.battery-vases-number}")
    public void setBatteryCasesNumber(String batteryCasesNumber) {
        ChargeModelParamSelectMsg0x17.batteryCasesNumber = batteryCasesNumber;
    }

    @Value("${message.chargeModelParamSelectMsg.battery-group-series-number}")
    public void setBatteryGroupSeriesNumber(String batteryGroupSeriesNumber) {
        ChargeModelParamSelectMsg0x17.batteryGroupSeriesNumber = batteryGroupSeriesNumber;
    }

    @Value("${message.chargeModelParamSelectMsg.battery-group-parallel-number}")
    public void setBatteryGroupParallelNumber(String batteryGroupParallelNumber) {
        ChargeModelParamSelectMsg0x17.batteryGroupParallelNumber = batteryGroupParallelNumber;
    }

    @Value("${message.chargeModelParamSelectMsg.battery-group-capacity}")
    public void setBatteryGroupCapacity(String batteryGroupCapacity) {
        ChargeModelParamSelectMsg0x17.batteryGroupCapacity = batteryGroupCapacity;
    }
}
